<?php /* Smarty version Smarty-3.0.7, created on 2014-12-24 14:45:13
         compiled from "E:/project/runtime/development/lab/tryPHP/app_y001/view\oui/news/list.html" */ ?>
<?php /*%%SmartyHeaderCode:6558549a60f95a8201-30961531%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3cf32b98c9f68130b124cc93feaa887554997610' => 
    array (
      0 => 'E:/project/runtime/development/lab/tryPHP/app_y001/view\\oui/news/list.html',
      1 => 1419403510,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6558549a60f95a8201-30961531',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate_utf8')) include 'E:\project\runtime\development\lab\tryPHP\tryPHP\library\smarty\plugins\modifier.truncate_utf8.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\project\runtime\development\lab\tryPHP\tryPHP\library\smarty\plugins\modifier.date_format.php';
?><?php $_template = new Smarty_Internal_Template("oui/public/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div class="header">
    <div class="stats"><p class="stat"><!--旁注--></p></div>
    <h1 class="page-title"><?php echo $_smarty_tpl->getVariable('data')->value['meta']['title'];?>
</h1>
</div>
<!--优雅的分隔线-1-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li class="active"><?php echo $_smarty_tpl->getVariable('data')->value['meta']['title'];?>
</li>
</ul>
<!--优雅的分隔线-2-->
<div class="container-fluid">
<div class="row-fluid">
    <!--优雅的分隔线-->
    <div class="btn-toolbar"  style="margin-bottom:2px;">
        <a class="btn btn-primary" href=<?php echo $_smarty_tpl->getVariable('data')->value['meta']['button1_link'];?>
>
            <i class="icon-plus"></i> <?php echo $_smarty_tpl->getVariable('data')->value['meta']['button1_title'];?>

        </a>
        <a data-toggle="collapse" data-target="#search"  href="#" title= "检索" class="hidden">
            <button class="btn btn-primary" style="margin-left:5px"><i class="icon-search"></i></button>
        </a>
    </div>
    <!--优雅的分隔线-->
    <div class="block">
        <a href="#page-stats" class="block-heading" data-toggle="collapse">
            <?php echo $_smarty_tpl->getVariable('data')->value['meta']['list_title'];?>

        </a>
        <div id="page-stats" class="block-body collapse in">
            <!--优雅的分隔线-->
            <table class="table table-striped">
            <thead>
                <tr>
                <th width="30">编号</th>
                <th>标题</th>
                <th width="170">类别</th>
                <th width="95"> 发布日期</th>
                <th width="75">操作选项</th>
                </tr>
            </thead>
            <tbody>
                <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value['base']['Rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
                <tr>
                <td><?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
</td>
                <td><?php echo smarty_modifier_truncate_utf8($_smarty_tpl->tpl_vars['row']->value['title'],45,"..");?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['row']->value['class_name'];?>
</td>
                <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['datetime'],"%Y-%m-%d");?>
</td>
                <td>
                    <?php $_smarty_tpl->tpl_vars['list1_id'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['id'], null, null);?>
                    <a title="预览" target="_blank" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink("0002","universal::detail","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
>
                        <i class="icon-file"></i>
                    </a>&nbsp;
                    <a title="修改" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":universal::edit","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
>
                        <i class="icon-edit"></i>
                    </a>&nbsp;
                    <a title="删除" data-toggle="modal" href="#myModal" >
                        <i class="icon-trash" data-toggle="modal" x-delete="true" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":universal::delete","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
></i>
                    </a>
                </td>
                </tr>
                <?php }} ?>
            </tbody>
            </table>
            <!--优雅的分隔线-->
            <div class="pagination">
                <input id="error" type="hidden" value=""/>
                <input id="protocol" type="hidden" value=tryPHP_<?php echo @TRYPHP_ROUTE_PROTOCOL;?>
>
                <input id="protocol-data" type="hidden" value=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperlink('__SELF__');?>
>
                <input id="rowCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['RowCount'];?>
>
                <input id="pageSize" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageSize'];?>
>
                <input id="pageCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageCount'];?>
>
                <input id="pagination" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['Pagination'];?>
>
                <input id="parameters" type="hidden" value=<?php echo Route::ArgumentsToString($_smarty_tpl->getVariable('data')->value[$_smarty_tpl->getVariable('urlArguments')->value]);?>
>
                <ul>
                    <li><a id="previousLink">上一页</a></li>
                    <li>
                        <span id="cycleLink">～</span>
                    </li>
                    <li><a id="nextLink">下一页</a></li>
                </ul>
            </div>
            <!--优雅的分隔线-->
        </div>
    </div>
    <br/><br/>
    <!--优雅的分隔线-3-->
    <script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/library/trigger.list-delete.js></script>
    <!--优雅的分隔线-->
    <script type="text/javascript" src=<?php echo @BUILD_PATH;?>
/public/JEAR/jquery/plugins/jquery.pager.js></script>
    <script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/library/pager.js></script>
<?php $_template = new Smarty_Internal_Template("oui/public/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>